<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>
<body>
<h1>用户登录</h1>
<form action="{% url 'myapp:myapp_login' %}" method="post">
    {% csrf_token %}
    <label for="username">用户名：</label>
    <input type="text" id="username" name="username">

    <label for="password">密码：</label>
    <input type="text" id="password" name="password">
    <input type="submit" value="登录">

</form>

</body>
</html>